package com.neuedu.His02.mapper.outpatientDoctorWorkStationMapper;

import com.neuedu.His02.entity.*;
import com.neuedu.His02.entity.diagnosisTemplate.DiagnosisTemplate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OutpatientDiagnosisMapper {

    public List<Register> initPatients(User user);

    public MedicalRecord recordIsExist(Register register);

    public List<Register> searchByName(Register register);

    public List<Register> searchByNumber(Register register);

    public MedicalRecord getRecord(MedicalRecord medicalRecord);

    public List<CheckApply> getCheckResult(MedicalRecord medicalRecord);

    public List<CheckApply> getDealResult(MedicalRecord medicalRecord);

    public List<DiagnosisTemplate> getRecordTemplatePersonally(User user);

    public List<DiagnosisTemplate> getRecordTemplateByDepartment(User user);

    public List<DiagnosisTemplate> getRecordTemplateByHospital();

    public void deleteRecordTemplate(DiagnosisTemplate diagnosisTemplate);
}
